package com.zx.framework.plat.rank.po;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;


/**
 * Rank entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name="s_rank")

public class Rank  implements java.io.Serializable {


    // Fields    

     private String id;
     private String name;
     private String type;
     private String icon;
     private Double score;
     private String nextRank;


    // Constructors

    /** default constructor */
    public Rank() {
    }

	/** minimal constructor */
    public Rank(String id) {
        this.id = id;
    }
    
    /** full constructor */
    public Rank(String id, String name, String type, String icon, Double score, String nextRank) {
        this.id = id;
        this.name = name;
        this.type = type;
        this.icon = icon;
        this.score = score;
        this.nextRank = nextRank;
    }

   
    // Property accessors
    @Id 
    
    @Column(name="ID", unique=true, nullable=false, length=64)

    public String getId() {
        return this.id;
    }
    
    public void setId(String id) {
        this.id = id;
    }
    
    @Column(name="NAME", length=50)

    public String getName() {
        return this.name;
    }
    
    public void setName(String name) {
        this.name = name;
    }
    
    @Column(name="TYPE", length=64)

    public String getType() {
        return this.type;
    }
    
    public void setType(String type) {
        this.type = type;
    }
    
    @Column(name="ICON", length=64)

    public String getIcon() {
        return this.icon;
    }
    
    public void setIcon(String icon) {
        this.icon = icon;
    }
    
    @Column(name="SCORE", precision=10)

    public Double getScore() {
        return this.score;
    }
    
    public void setScore(Double score) {
        this.score = score;
    }
    
    @Column(name="NEXTRANK", length=64)

    public String getNextRank() {
        return this.nextRank;
    }
    
    public void setNextRank(String nextRank) {
        this.nextRank = nextRank;
    }
   








}